﻿using BanquetGift.Models;
using Microsoft.EntityFrameworkCore;

namespace BanquetGift.DataBases
{
    public class BGDbContext : DbContext
    {
        /// <summary>
        /// 系统数据字典
        /// </summary>
        public DbSet<DataDictionary> DataDictionaries { get; set; }
        /// <summary>
        /// 份子人
        /// </summary>
        public DbSet<GiftPeople> GiftPeoples { get; set; }
        /// <summary>
        /// 份子钱簿子
        /// </summary>
        public DbSet<MoneyBook> MoneyBooks { get; set; }
        public BGDbContext(DbContextOptions<BGDbContext> options) : base(options)
        {
        }
    }
}
